<!--
 * @Description
 * @Author hanl
 * @Date 2024-07-12 13:29:54
 * @LastEditors hanl
 * @LastEditTime 2024-07-22 11:18:30
-->
<script setup lang="ts">
const nowDate = __AppInfo__.lastBuildTime

const timeageRef = ref<HTMLElement | null>(null)

onMounted(() => {
  if (timeageRef.value) {
    timeagoRender(timeageRef.value, 'zh_CN')
  }
})
</script>

<template>
  <footer class="pb-10px text-center">
    <div class="flex-center">
      <span>构建于:</span>
      <span
        ref="timeageRef"
        :datetime="nowDate"
      />
    </div>
    <a
      href="http://beian.miit.gov.cn/"
      target="_blank"
      rel="京ICP备2022020976号-1"
    >
      京ICP备2022020976号-1
    </a>
  </footer>
</template>
